/**
 * 
 */
package cn.qihua.util;


/**
 * @author Jerry
 *
 */
public class PageAble implements IPageAble { 
	
	protected int total;// 总记录数
	protected int limit = 3; // 获取数量
	protected int page=3; //每页数量
	protected int start = 0; // 开始位置
	
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#getTotal()
	 */
	@Override
	public int getTotal() {
		return total;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#setTotal(int)
	 */
	@Override
	public void setTotal(int total) {
		this.total = total;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#getLimit()
	 */
	@Override
	public int getLimit() {
		return limit;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#setLimit(int)
	 */
	@Override
	public void setLimit(int limit) {
		this.limit = limit;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#getPage()
	 */
	@Override
	public int getPage() {
		return page;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#setPage(int)
	 */
	@Override
	public void setPage(int page) {
		this.page = page;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#getStart()
	 */
	@Override
	public int getStart() {
		return start;
	}
	/* (non-Javadoc)
	 * @see cn.baidu.util.IPageAble#setStart(int)
	 */
	@Override
	public void setStart(int start) {
		this.start = start;
	}
	
}
